<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jiadian</title>
    <style>
        .mian {
            width: 300px;
            margin-left: 50px;
        }

        #main1 {
            margin-left: 60px;
            margin-top: 20px;
        }

        #title {
            background: linear-gradient(180deg, rgb(76, 76, 248), white);
            width: 300px;
            height: 50px;

        }

        h2 {
            padding: 5px 10px;
            color: white;
            line-height: 35px;
            font-size: 18px;
            font-weight: bold;
        }

        a:hover {
            text-decoration: underline;
        }

        p {
            font-size: 12px;
            line-height: 26px;
            color: gray;
        }

        p a {
            text-decoration: none;
        }

        p a:hover {
            color: brown;
            text-decoration: underline;
        }

        #a {
            width: 200px;
            height: 30px;
            font-size: 14px;
            font-weight: bold;
            line-height: 30px;
            padding: 5px 15px;
            background: linear-gradient(180deg, rgb(161, 161, 243), white);
        }

        .b {
            text-decoration: none;
        }
    </style>
</head>

<body>
    <div class="main">
        <div id="title">
            <h2>家用电器</h2>
        </div>
        <div id="main1">
            <div>
                <div id="a"><a class="b" href="">大件电器</a></div>
                <div id="main3">
                    <p>
                        <a href="">平板电视</a>
                        <a href="">洗衣机</a>
                        <a href="">冰箱</a>
                    </p>
                    <p>
                        <a href="">空调</a>
                        <a href="">热水器</a>
                        <a href="">消毒柜</a>
                        <a href="">家庭影院</a>
                    </p>

                </div>

            </div>
            <div>
                <div id="a"><a class="b" href="">生活电器</a></div>
                <p>
                    <a href="">电风扇</a>
                    <a href="">净化器</a>
                    <a href="">吸尘器</a>
                </p>
                <p>
                    <a href="">净水设备</a>
                    <a href="">挂烫机</a>
                    <a href="">电话机</a>
                </p>
            </div>
            <div>
                <div id="a"><a class="b" href="">厨房电器</a></div>
                <p>
                    <a href="">榨汁机</a>
                    <a href="">电压力锅</a>
                    <a href="">电饭煲</a>
                </p>
                <p>
                    <a href="">豆浆机</a>
                    <a href="">微波炉</a>
                    <a href="">电磁炉</a>
                </p>
            </div>
            <div>
                <div id="a"><a class="b" href="">五金家装</a></div>
                <p>
                    <a href="">水槽</a>
                    <a href="">电动工具</a>
                    <a href="">手动工具</a>
                </p>
                <p>
                    <a href="">仪器仪表</a>
                    <a href="">浴霸</a>
                    <a href="">灯具</a>
                </p>
            </div>
        </div>

    </div>
</body>

</html>